<?php
class Tags extends CActiveRecord{
	
	public static function model($className = __CLASS__){
		return parent::model($className);
	}
	
	public function tableName(){
		return '{{tags}}';
	}
	
	public function attributeLabels(){
		return array(
				'tags_name'=>'tags名称'
		);
	}
	
	public function rules(){
		return array(
				array('tags_name', 'required', 'message'=>'tags名称不能为空')
		);
	}
}